﻿using Domain;

namespace DataAccess
{
    public class UserRepository : IUserRepository
    {
        public User Login(string username, string password)
        {
            if (username == "moo" && password == "thepassword")
                return new User {Username = username, Password = password};

            return null;
        }
    }
}
